﻿@{ var home = @Model.AncestorOrSelf(); }
@{ var footerItem = " | &nbsp;&nbsp;&nbsp;<a href=\"{0}\">{1}</a>&nbsp;&nbsp;"; }
<div class="footercontent">
  <p><b>PBDesk.com</b> | Concept perceived, designed and developed by <a href="mailto:self@PBDesk.com" style="border-bottom: 1px dashed #FFFFFF; font-weight:bold; text-decoration:none">Pinal Bhatt</a></p>
  <p>
    <a href="@home.Url">@home.Name</a>
    @foreach(var node in home.Children)
     {
       if(node.showInFooter != 0)
          {
            @Html.Raw(string.Format(footerItem, node.Url, node.Name));
          }
     }
  </p>
</div>